package stream._02;

import java.util.HashMap;
import java.util.Map;

public class Test {
	public static void main(String[] args) {
		
		Map<Long, Thread> map = new HashMap<Long, Thread>();
		map.put(null, null);
		for (int i = 0; i < 13; i++) {
			map.put((long) i, Thread.currentThread());
		}
		System.out.println(map.size());
		for (Long id : map.keySet()) {
			Thread t = map.get(id);
			System.out.println(t.getId() + ":" + t.getName());
		}
	}
}
